[IA64] warning removal: NR_CPUS
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 27 Feb 2006 20:31:10 +0000 (13:31 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 27 Feb 2006 20:31:10 +0000 (13:31 -0700)
linux/threads nullified (moved to linux-null).

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
xen/include/asm-ia64/linux-null/linux/threads.h [new file with mode: 0644]
xen/include/asm-ia64/linux/README.origin
xen/include/asm-ia64/linux/threads.h [deleted file]

diff --git a/xen/include/asm-ia64/linux-null/linux/threads.h b/xen/include/asm-ia64/linux-null/linux/threads.h
new file mode 100644 (file)
index 0000000..e69de29
index a4c43e52f23c1886425483284180f4a06319249b..9b37d7eb48d27002abd7faa836f45b87a5afb1d3 100644 (file)
@@ -26,7 +26,6 @@ seqlock.h             -> linux/include/linux/seqlock.h
 sort.h                 -> linux/include/linux/sort.h
 stddef.h               -> linux/include/linux/stddef.h
 thread_info.h          -> linux/include/linux/thread_info.h
-threads.h              -> linux/include/linux/threads.h
 time.h                 -> linux/include/linux/time.h
 timex.h                        -> linux/include/linux/timex.h
 topology.h             -> linux/include/linux/topology.h
diff --git a/xen/include/asm-ia64/linux/threads.h b/xen/include/asm-ia64/linux/threads.h
deleted file mode 100644 (file)
index b59738a..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef _LINUX_THREADS_H
-#define _LINUX_THREADS_H
-
-#include <linux/config.h>
-
-/*
- * The default limit for the nr of threads is now in
- * /proc/sys/kernel/threads-max.
- */
-
-/*
- * Maximum supported processors that can run under SMP.  This value is
- * set via configure setting.  The maximum is equal to the size of the
- * bitmasks used on that platform, i.e. 32 or 64.  Setting this smaller
- * saves quite a bit of memory.
- */
-#ifdef CONFIG_SMP
-#define NR_CPUS                CONFIG_NR_CPUS
-#else
-#define NR_CPUS                1
-#endif
-
-#define MIN_THREADS_LEFT_FOR_ROOT 4
-
-/*
- * This controls the default maximum pid allocated to a process
- */
-#define PID_MAX_DEFAULT (CONFIG_BASE_SMALL ? 0x1000 : 0x8000)
-
-/*
- * A maximum of 4 million PIDs should be enough for a while:
- */
-#define PID_MAX_LIMIT (CONFIG_BASE_SMALL ? PAGE_SIZE * 8 : \
-       (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
-
-#endif